<!DOCTYPE html >
<html site="{{$site.siteid}}" skin="{{$skin}}" lang="{{ticky\lang::range()}}">
    <head>
        <meta charset="utf-8" />
        <meta name="renderer" content="webkit|ie-comp|ie-stand" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <meta content="yes" name="apple-mobile-web-app-capable" />
        <meta content="black" name="apple-mobile-web-app-status-bar-style" />
        <meta content="telephone=no" name="format-detection" />
        <meta name="author" content="luomingui" />
        <title>{{get_config('webname')}}</title>
        <meta name="keywords" content="{{$title}} {{get_config('keywords')}}" />
        <meta name="description" content="{{$title}} {{get_config('description')}}" />
        <link rel="shortcut icon" href="/favicon.ico">
        <link rel="apple-touch-icon" href="/apple-touch-icon.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" />
        <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" />
        <link href="{{STATIC_URL}}/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
        <link href="{{STATIC_URL}}/plugins/metisMenu/dist/metisMenu.min.css" rel="stylesheet" />
        <link href="{{STATIC_URL}}/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <link href="{{STATIC_URL}}/admin/skin/default/skin.css?v{{random(4)}}" id="skin" rel="stylesheet" type="text/css"/>
        <link href="{{STATIC_URL}}/admin/admin.css?v{{random(4)}}" rel="stylesheet" />
        <!-- 不是IE就用v2.1.3，IE8以上也用v2.1.3，IE8及以下用1.11版本-->
        <!--[if !IE]> -->
        <script src="{{STATIC_URL}}/plugins/jquery/jquery.min.js"></script>
        <!-- <![endif]-->
        <!--[if lte IE 8]>
           <script type="text/javascript" src="{{STATIC_URL}}/plugins/html5.js"></script>
           <script type="text/javascript" src="{{STATIC_URL}}/plugins/respond.min.js"></script>
           <script type="text/javascript" src="{{STATIC_URL}}/plugins/PIE_IE678.js"></script>
           <script src="{{STATIC_URL}}/plugins/jquery/jquery.min.ie8.js"></script>
        <![endif]-->
        <!--[if gt IE 8]>
          <script src="{{STATIC_URL}}/plugins/jquery/jquery.min.js"></script>
       <![endif]-->
        <!--[if IE 6]>
            <script type="text/javascript" src="{{STATIC_URL}}/plugins//DD_belatedPNG_0.0.8a-min.js" ></script>
            <script>DD_belatedPNG.fix('*');</script>
        <![endif]-->
        <script src="{{STATIC_URL}}/plugins/bootstrap/js/bootstrap.min.js"></script>
        <script src="{{STATIC_URL}}/plugins/metisMenu/dist/metisMenu.min.js"></script>
        <script src="{{STATIC_URL}}/plugins/layer/layer.js"></script>
        <script src="{{STATIC_URL}}/plugins/layer/layer_common.js"></script>
        <script src="{{STATIC_URL}}/common/js/common.js?v{{random(4)}}"></script>
        <script src="{{STATIC_URL}}/common/js/luomg.js?v{{random(4)}}"></script>
        <script src="{{STATIC_URL}}/admin/admin.js?v{{random(4)}}"></script>
        <script src="{{STATIC_URL}}/admin/index.js?v{{random(4)}}"></script>
        <style  type="text/css">
            body{background-color: #f8f8f8;}
            .show_iframe{
                width: 100%;
                height: 100%;
            }
            .show_iframe iframe {
                position: absolute;
                width: 100%;
            }
        </style>
        <script type="text/javascript">
$(function () {
    changeWH();
});
function changeWH() {
    var height = getViewPort().height - 80;
    var width = getViewPort().width - 200;
    $("#main").height(height);
    $("#main").width(width);
}
window.onresize = function () {
    changeWH();
}
        </script>
    </head>
    <body style="overflow: hidden;">
        {{include template('public/nav','admin')}}
        <div id="wrapper">
            <ul id="breadcrumb" name="breadcrumb" class="breadcrumb mavbar-breadcrumb">
                <li><i class="fa fa-home fa-fw"></i>首页</li>
                <li id='refresh' onclick="main.location.reload();"><i class="fa fa-refresh"></i></li>
            </ul>
            <div class="show_iframe">
                <div style="display:none" class="loading"></div>
                <div style="width: 168px;background:url(/static/admin/loading.gif);font-size:12px;float:left;overflow:auto;overflow-x:hidden;">
                    <iframe id="main" name="main" title="" class="flexiframe" frameborder="0" src="{{url('/admin/index/public_home')}}"
                            style="overflow-y: hidden;" ><p>Your browser does not support iframes.</p></iframe>
                </div>

            </div>
        </div>
    </body>
</html>
